﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ESOL.WinUI.Inv
{
    public partial class frmPrintFormInvDispatchOrder : BaseForm.frmBasePrintForm
    {
        public frmPrintFormInvDispatchOrder(DataRow drOrder,DataTable dtOrderDetail)
        {
            InitializeComponent();
            frmPrintTemplateInvDispatchOrder fXtraReport = new frmPrintTemplateInvDispatchOrder(drOrder,dtOrderDetail);
            printControl1.PrintingSystem = fXtraReport.PrintingSystem;
            fXtraReport.CreateDocument();
        }
    }
}
